<!--  start left menu -->
<ul class="sidebar-list">
    {foreach name='$AdminMenu' id='v1' }
    <li class="li has-sub  {if condition=' :in_array($action, $v1.node_action)'}active{/if}">
        <a class="list-link {if condition = ' isset($v1.children) && $v1.children '} with-sub{/if} " {if condition='$v1.node_url '}href="{$v1.node_url}"{/if}>
            {$v1.node_name}
            {if condition = 'isset($v1.children) && $v1.children '}
            <div class="list-icon"><i class="triangle-facing-left"></i>
                <i class="triangle-facing-bottom"></i></div>
            {/if}
        </a>

        {if condition = 'isset($v1.children) && $v1.children '}
        <ul class="sub-list">
            {foreach name='$v1.children' id='v2'}
            <li class="{if condition=' :in_array($action, $v2.node_action) '}active{/if}">
                <a href="{$v2.node_url}" >{$v2.node_name} </a>
            </li>
            {/foreach}
        </ul>
        {/if}

    </li>
    {/foreach}
</ul>
<!--  end left menu -->